package com.example.xiaomiao.Service;

import com.example.xiaomiao.DO.Money_Record;
import com.example.xiaomiao.DTO.GetMoneyRequestDTO;
import com.example.xiaomiao.DTO.MoneyAddRequestDTO;
import com.example.xiaomiao.DTO.MoneyDeleteRequestDTO;
import com.example.xiaomiao.DTO.Return;

public interface MoneyRecordService {
    Return add(int userId, MoneyAddRequestDTO moneyAddRequestData);

    Return delete(MoneyDeleteRequestDTO moneyDeleteRequestData);

    Return update(Money_Record moneyRecord);

    Return get(int userId, GetMoneyRequestDTO getMoneyRequestData);
}
